<template>
  <div class="container">
    <data-view
      propViewKey="hospital_supplier"
      :propIsTdesign="true"
      :propHideColumns = "cpPropHideColumns"
      :propHideQueryColumns = "cpPropHideColumns"
      ref="dataView"
    />
  </div>
</template>

<script>
import orderIndex from '@/views/base/supplier/hp_apply/index.vue'

export default {
  help: '供货关系-医院角色',
  data() {
    return {
    }
  },
  components: {
    orderIndex
  },
  computed: {
    cpPropHideColumns() {
      if (this.utils.isHp()) {
        return ['hospitalName']
      }
      return []
    }
  },
  methods: {
    menuActiveCall() {
      this.$refs.dataView.fetchData()
    }
  }
}
</script>
